package com.example.admin.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zhuyonggang
 * @description (T_Goods)实体类
 * @date 2021-09-14 15:16:23
 */
@Data
@TableName("T_Goods")
public class TGoods implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 价格
     */
    @TableField(value = "price")
    private BigDecimal price;
    /**
     * 数量
     */
    @TableField(value = "count")
    private Integer count;
    /**
     * 删除标记 0:正常,1:删除
     */
    @TableLogic(value = "delete_flag")
    private Integer deleteFlag;
}
